package com.atshiyou.dao;

import com.atshiyou.bean.Menu;
import com.atshiyou.bean.Role;


import java.util.List;

public interface RoleDao {
//    1.查询某个角色对应的菜单
    public Role findByRoleId(int roleId);
//    2、查询某个菜单对应的角色
    public Menu findByMenuId(int menuId);

}
